﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
 <script for="window" event="onload">
        var sTarget = "main/login.jsp";
        //window.location.href = sTarget;
        var sw = screen.width+9;
        var sh = screen.height+9;
        var w = 650;
        var h = 350;
        var l = -10;
        var t = -10;


        //var win = window.open(sTarget, "_blank", "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=" + screen.width  + ",height=" + screen.height + ",left=" + l + ",top=" + t);
        // var win = window.open(sTarget, "_blank", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=" + w + ",height=" + h + ",left=" + l + ",top=" + t);
        var win = window.open(sTarget,"_blank");
        if (win != null)
        {
            //            window.opener = null;
            //            window.close();
            //ie7有时提示是否关闭 此代码屏蔽了提示   ie678通用
            window.opener = null
            window.open("", "_self")
            window.close();
        }
        else
        {
            msg.style.display = "block";
        }
        
    </script>
</head>

<body>
<h4>
    在进入系统登录界面，请稍候...
</h4>
<h4 id="msg" style="color: red; display: none">
    系统的登录界面为自动弹出界面，但是您的浏览器阻止了这个弹出窗口，导致无法进行登录！
    <br>
    请检查：
    <br>
    在浏览器中是否使用了Google、上网助手或Windows XP SP2的自动禁用弹出窗口的功能。

</h4>
</body>
</html>
